package core;

import java.util.*;

public class Location {
	private int id;
	private String caption;
	private String phone;
	private String adress;
	private Human parent;

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAdress() {
		return adress;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	public void setParent(Human g) {
		parent = g;
	}

	public Human getParent() {
		return parent;
	}

	public Location() {
	}

	public Location(String caption) {
		this.caption = caption;
	}

	public void setId(int i) {
		id = i;
	}

	public int getId() {
		return id;
	}

	public void setCaption(String n) {
		caption = n;
	}

	public String getCaption() {
		return caption;
	}
}